package com.gxp.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxp.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 已完成实验的基本信息
 */
public class ZkDoneExpInfoDto extends BaseEntity {

    /**
     * 实验唯一标志
     */
    private String expcode;

    /**
     * 实验开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 实验结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 实验名
     */
    private String expName;

    /**
     * 仪器名称
     */
    private String instName;

    /**
     * nmr文件名称 1.nmr
     */
    private String nmrFileName;

    /**
     * status
     */
    private String status;

    /**
     * 仪器唯一编码
     */
    private String hostId;

    /**
     * 文件类型 1:原始数据 2:处理数据
     */
    private String fileType;

    /**
     * 审核员
     */
    private String approveBy;

    private boolean isApproving;

    public String getExpcode() {
        return expcode;
    }

    public void setExpcode(String expcode) {
        this.expcode = expcode;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getExpName() {
        return expName;
    }

    public void setExpName(String expName) {
        this.expName = expName;
    }

    public String getInstName() {
        return instName;
    }

    public void setInstName(String instName) {
        this.instName = instName;
    }

    public String getNmrFileName() {
        return nmrFileName;
    }

    public void setNmrFileName(String nmrFileName) {
        this.nmrFileName = nmrFileName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getHostId() {
        return hostId;
    }

    public void setHostId(String hostId) {
        this.hostId = hostId;
    }

    public String getApproveBy() {
        return approveBy;
    }

    public void setApproveBy(String approveBy) {
        this.approveBy = approveBy;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public boolean isApproving() {
        return isApproving;
    }

    public void setApproving(boolean approving) {
        isApproving = approving;
    }

    @Override
    public String toString() {
        return "ZkDoneExpInfoDto{" +
                "expcode='" + expcode + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", expName='" + expName + '\'' +
                ", instName='" + instName + '\'' +
                ", nmrFileName='" + nmrFileName + '\'' +
                ", status='" + status + '\'' +
                ", hostId='" + hostId + '\'' +
                '}';
    }
}
